package com.entrogy.utils.constants;

/**
 * @author: lxj
 * @description: 通用常量类, 单个业务的常量请单开一个类, 方便常量的分类管理
 */
public class Constants {

	public static final String SUCCESS_CODE = "100";
	public static final String SUCCESS_MSG = "请求成功";

	/**
	 * session中存放用户信息的key值
	 */
	public static final String SESSION_USER_INFO = "userInfo";
	public static final String SESSION_USER_PERMISSION = "userPermission";

	public static final String PASSRECORD_TASK_LOCK = "passRecordTaskLock";
	public static final String CREATE_DYN_ARRANGE_AND_PUSH_TIME_TASK_LOCK = "createDynArrangeAndPushTime";
	public static final String PUSH_TIME_IN_LEAVE_TASK_LOCK = "pushTimeInLeave";
	public static final String SET_DEVICE_TIME_TASK_LOCK = "setDeviceTime";
	public static final String STUDENT_SCORE_TASK_LOCK = "studentScore";
	public static final String WEIXIN_TOMKEN_TASK_LOCK = "weixinToken";
	public static final String PAY_ORDER_IS_OUT_OF="payOrderIsOutOf";//
	public static final String DEVICE_DETECT = "deviceDetect";//设备是否在线预警

	public static final String DE_YU_CHU_MENU = "deyuchumenu";
	public static final String LIFE_TEACHER_MENU = "lifeteachermenu";
	public static final String PARENT_MENU = "parentmenu";
	public static final String SECRITY_MENU = "secritymenu";
	public static final String TEACHER_MENU = "teachermenu";
	public static final String VISITOR_MENU = "visitormenu";

	// 实义德接口请求地址
	public static final String THDID_PERSON_ADD_URL = "/personnel/add";
	public static final String THDID_PERSON_UPDATE_URL = "/personnel/change_info";
	public static final String THDID_PERSON_DELETE_URL = "/personnel/delete";
	// 实义德设备型号
	public static final String THDID_AI06 = "AI06";
	public static final String THDID_AI09 = "AI09";
	public static final String THDID_AI16 = "AI16";
	// 更新通行记录表的系统id
	public static final String UPDATE_PASS_RECORD_SYSTEM_ID = "updatePassRecordSystemId";
	// 体温异常阈值
	public static final Double NORMAL_TEMPERATURE = 37.3;
	public static final int TEACHER_TYPE = 1;
	public static final int PARENT_TYPE = 3;
	public static final int STUDENT_TYPE = 2;

}
